home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="EUC-KR" ?>
- <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
- <?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
- <!-- English Revision: 1.6.2.9 -->
-
- <!--
- Copyright 2003-2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <manualpage metafile="env.xml.meta">
-
- <title>╛╞╞──í└╟ ╚»░µ║»╝÷</title>
-
- <summary>
- <p>╛╞╞──í └Ñ╝¡╣÷┤┬ <em>╚»░µ║»╝÷(environment variable)</em>╢≤┤┬
- ║»╝÷┐í ┴ñ║╕╕ª └·└σ╟╥ ╝÷ └╓┤┘. └╠ ┴ñ║╕╕ª ╗τ┐δ╟╧┐⌐ ╖╬▒╫│¬
- ┴ó▒┘┴ª╛ε ╡ε ┐⌐╖» └█╛≈└╗ ┴╢└²╟╤┤┘. ╢╟, ╚»░µ║»╝÷┤┬ CGI ╜║┼⌐╕│╞«┐═
- ░░└║ ┐▄║╬ ╟┴╖╬▒╫╖Ñ░· ┼δ╜┼╟╧┤┬ ╝÷┤▄└╠ ╡╚┤┘. └╠ ╣«╝¡┤┬ ╚»░µ║»╝÷╕ª
- ┤┘╖τ░φ ╗τ┐δ╟╧┤┬ ┤┘╛τ╟╤ ╣µ╣²╡Θ└╗ ╝│╕φ╟╤┤┘.</p>
-
- <p>└╠ ║»╝÷╡Θ└╗ <em>╚»░µ║»╝÷</em>╢≤░φ ║╬╕ú┴÷╕╕, ┐ε┐╡├╝┴ª┐í╝¡
- ╕╗╟╧┤┬ ╚»░µ║»╝÷┐═ ┤┘╕ú┤┘. └╠ ║»╝÷┤┬ ╛╞╞──í │╗║╬┐í └·└σ╡╟░φ
- ╗τ┐δ╡╚┤┘. ╚»░µ║»╝÷┤┬ CGI ╜║┼⌐╕│╞«│¬ Server Side Include
- ╜║┼⌐╕│╞«╖╬ │╤░▄┴·╢º╕╕ ╜╟┴ª ┐ε┐╡├╝┴ª ╚»░µ║»╝÷░í ╡╚┤┘. ╝¡╣÷╕ª
- ╜╟╟α╟╧┤┬ ┐ε┐╡├╝┴ª ╚»░µ└╗ ╝÷┴ñ╟╧░φ ╜═┤┘╕Θ ┐ε┐╡├╝┴ª ╜⌐┐í╝¡
- ╚»░µ└╗ ╝÷┴ñ╟╪╛▀ ╟╤┤┘.</p>
- </summary>
-
- <section id="setting">
- <title>╚»░µ║»╝÷ ╝│┴ñ╟╧▒Γ</title>
- <related>
- <modulelist>
- <module>mod_env</module>
- <module>mod_rewrite</module>
- <module>mod_setenvif</module>
- <module>mod_unique_id</module>
- </modulelist>
- <directivelist>
- <directive module="mod_setenvif">BrowserMatch</directive>
- <directive module="mod_setenvif">BrowserMatchNoCase</directive>
- <directive module="mod_env">PassEnv</directive>
- <directive module="mod_rewrite">RewriteRule</directive>
- <directive module="mod_env">SetEnv</directive>
- <directive module="mod_setenvif">SetEnvIf</directive>
- <directive module="mod_setenvif">SetEnvIfNoCase</directive>
- <directive module="mod_env">UnsetEnv</directive>
- </directivelist>
- </related>
-
- <section id="basic-manipulation">
- <title>▒Γ║╗└√└╬ ╚»░µ╝│┴ñ</title>
-
- <p>╛╞╞──í┐í╝¡ ╚»░µ║»╝÷╕ª ╝│┴ñ╟╧┤┬ ░í└σ ▒Γ║╗└√└╬ ╣µ╣²└║
- ╣½┴╢░╟└√└╬ <directive module="mod_env"
- >SetEnv</directive> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┤┬ ░═└╠┤┘. <directive
- module="mod_env">PassEnv</directive> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐
- ╝¡╣÷╕ª ╜├└█╟╤ ╜⌐┐í╝¡ ╚»░µ║»╝÷╕ª ░í┴«┐├ ╝÷╡╡ └╓┤┘.</p>
-
- </section>
- <section id="conditional">
- <title>┐Σ├╗┐í ╡√╕Ñ ┴╢░╟║╬ ╝│┴ñ</title>
-
- <p>┤⌡ └»┐¼╟╧░╘, mod_setenvif░í ┴ª░°╟╧┤┬ ┴÷╜├╛ε┤┬ ┐Σ├╗╕╢┤┘
- ┐Σ├╗└╟ ╞»┬í┐í ╡√╢≤ ╚»░µ║»╝÷╕ª ╝│┴ñ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ╞»┴ñ
- ║Ω╢≤┐∞└·╖╬ (User-Agent) ┐Σ├╗╟╧░┼│¬ ╞»┴ñ Referer (╕┬├π╣²└╠
- ╞▓╕«┴÷ ╛╩╛╥┤┘) ╟∞┤⌡░í └╓┤┬ ░µ┐∞┐í╕╕ ║»╝÷╕ª ╝│┴ñ╟╥ ╝÷
- └╓┤┘. ╜╔┴÷╛ε mod_rewrite┐í └╓┤┬ <directive
- module="mod_rewrite">RewriteRule</directive>└╟
- <code>[E=...]</code> ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ┤⌡ └»┐¼╟╧░╘ ╚»░µ║»╝÷╕ª
- ╝│┴ñ╟╥ ╝÷╡╡ └╓┤┘.</p>
-
- </section>
- <section id="unique-identifiers">
- <title>└»└╧╟╤ ╜─║░└┌</title>
-
- <p>╕╢┴÷╕╖└╕╖╬ mod_unique_id┤┬ ░ó ┐Σ├╗┐í ┤δ╟╪ ╛ε╢▓ ░µ┐∞┐í╡╡
- "╕≡╡τ" ┐Σ├╗┴▀┐í ╚«╜╟╚≈ └»└╧╟╤(░π─í┴÷╛╩└║) ░¬└╕╖╬
- <code>UNIQUE_ID</code> ╚»░µ║»╝÷╕ª ╝│┴ñ╟╤┤┘.</p>
-
- </section>
- <section id="standard-cgi">
- <title>╟Ñ┴╪ CGI ║»╝÷</title>
-
- <p>CGI ╜║┼⌐╕│╞«┐═ SSI ╣«╝¡┤┬ ╛╞╞──í ╝│┴ñ┐í╝¡ ╝│┴ñ╟╧┐┤░┼│¬
- ╜⌐┐í╝¡ ░í┴«┐┬ ╚»░µ║»╝÷ ┐▄┐í ├▀░í╖╬ <a
- href="http://cgi-spec.golux.com/">CGI ▒╘╛α</a>└╠ ▒╘┴ñ╟╤
- ┐Σ├╗┐í ┤δ╟╤ ┴ñ║╕╕ª ╛╦╖┴┴╓┤┬ ╚»░µ║»╝÷╡Θ└╗ ╣▐┤┬┤┘.</p>
-
- </section>
- <section id="caveats">
- <title>┴╓└╟╟╥ ┴í</title>
-
- <ul>
- <li>╚»░µ╝│┴ñ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ╟Ñ┴╪ CGI ║»╝÷╕ª ╣½╜├╟╧░┼│¬
- ╝÷┴ñ╟╥ ╝÷ ╛°┤┘.</li>
-
- <li><a href="suexec.html">suexec</a>░í CGI ╜║┼⌐╕│╞«╕ª
- ╜╟╟α╟╧┤┬ ░µ┐∞, ╜├└█╟╧▒Γ└ⁿ┐í CGI ╜║┼⌐╕│╞«└╟ ╚»░µ└║
- <em>╛╚└ⁿ╟╤</em> ║»╝÷╡Θ╕╕ ░í┴÷╡╡╖╧ ├╗╝╥╡╚┤┘.
- <em>╛╚└ⁿ╟╤</em> ║»╝÷ ╕±╖╧└║ ──╞─└╧╜├
- <code>suexec.c</code>┐í ┴ñ└╟╡╚┤┘.</li>
-
- <li>╞≈╞├└╗ └º╟╪ ╚»░µ║»╝÷ └╠╕º┐í┤┬ ┐└┴≈ ╣«└┌, ╝²└┌,
- ╣╪┴┘╣«└┌╕╕ ╗τ┐δ╟╧┤┬ ░═└╠ ┴┴┤┘. ╢╟, ├╣╣°┬░ ╣«└┌╖╬
- ╝²└┌╕ª ╗τ┐δ╟╧┴÷╛╩┤┬ ░═└╠ ┴┴┤┘. CGI ╜║┼⌐╕│╞«│¬ SSI
- ╞Σ└╠┴÷┐í │╤╛ε░Ñ╢º └╠┐▄└╟ ╣«└┌┤┬ ╣╪┴┘╖╬ ┤δ├╝╡╚┤┘.</li>
- </ul>
- </section>
- </section>
- <section id="using">
- <title>╚»░µ║»╝÷ ╗τ┐δ╟╧▒Γ</title>
-
- <related>
- <modulelist>
- <module>mod_access</module>
- <module>mod_cgi</module>
- <module>mod_ext_filter</module>
- <module>mod_headers</module>
- <module>mod_include</module>
- <module>mod_log_config</module>
- <module>mod_rewrite</module>
- </modulelist>
- <directivelist>
- <directive module="mod_access">Allow</directive>
- <directive module="mod_log_config">CustomLog</directive>
- <directive module="mod_access">Deny</directive>
- <directive module="mod_ext_filter">ExtFilterDefine</directive>
- <directive module="mod_headers">Header</directive>
- <directive module="mod_log_config">LogFormat</directive>
- <directive module="mod_rewrite">RewriteCond</directive>
- <directive module="mod_rewrite">RewriteRule</directive>
- </directivelist>
- </related>
-
- <section id="cgi-scripts">
- <title>CGI ╜║┼⌐╕│╞«</title>
-
- <p>╚»░µ║»╝÷└╟ ┴╓╡╚ ┐δ╡╡┴▀ ╟╧│¬┤┬ CGI ╜║┼⌐╕│╞«┐═ ┴ñ║╕╕ª
- ▒│╚»╟╧┤┬ ░═└╠┤┘. ╛╒┐í╝¡ ╝│╕φ╟▀╡φ└╠ ╛╞╞──í ╝│┴ñ┐í╝¡ ╝│┴ñ╟╤
- ║»╝÷┐▄┐í ┐Σ├╗┐í ┤δ╟╤ ╟Ñ┴╪ ┴ñ║╕╕ª ░í┴° ║»╝÷░í CGI ╜║┼⌐╕│╞«╖╬
- │╤╛ε░ú┤┘. ┤⌡ └┌╝╝╟╤ │╗┐δ└║ <a href="howto/cgi.html">CGI
- ┼⌡┼Σ╕«╛≤</a>└╗ ┬ⁿ░φ╟╧╢≤.</p>
-
- </section>
- <section id="ssi-pages">
- <title>SSI ╞Σ└╠┴÷</title>
-
- <p>mod_include└╟ <code>INCLUDES</code> ╟╩┼═░í ├│╕«╟╧┤┬
- ╝¡╣÷╞─╜╠ (SSI) ╣«╝¡┤┬ <code>echo</code> ┐Σ╝╥╕ª ╗τ┐δ╟╧┐⌐
- ╚»░µ║»╝÷╕ª ├Γ╖┬╟╥ ╝÷ └╓░φ, ╚»░µ║»╝÷╕ª ╗τ┐δ╟╧┐⌐ ┐Σ├╗└╟
- ╞»┬í┐í ╡√╢≤ ╚σ╕º┴ª╛ε ┐Σ╝╥╖╬ ╞Σ└╠┴÷└╟ └╧║╬╕ª ║»░µ╟╥ ╝÷
- └╓┤┘. ╛╞╞──í┤┬ ╢╟ SSI ╣«╝¡┐í░╘ └º┐í╝¡ ╝│╕φ╟╤ ╟Ñ┴╪ CGI
- ╚»░µ║»╝÷╕ª ┴ª░°╟╤┤┘. ┤⌡ └┌╝╝╟╤ │╗┐δ└║ <a
- href="howto/ssi.html">SSI ┼⌡┼Σ╕«╛≤</a>└╗ ┬ⁿ░φ╟╧╢≤.</p>
-
- </section>
- <section id="access-control">
- <title>┴ó▒┘┴ª╛ε</title>
-
- <p><code>allow from env=</code>░· <code>deny from env=</code>
- ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷ ░¬┐í ╡√╢≤ ╝¡╣÷╖╬└╟ ┴ó▒┘└╗
- ┴╢└²╟╥ ╝÷ └╓┤┘. <directive
- module="mod_setenvif">SetEnvIf</directive>┐═ ░░└╠ ╗τ┐δ╟╧╕Θ
- ┼¼╢≤└╠╛≡╞«└╟ ╞»┬í┐í ╡√╢≤ └┌└»╖╙░╘ ╝¡╣÷╖╬└╟ ┴ó▒┘└╗ ┴ª╛ε╟╥
- ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε, ╞»┴ñ ║Ω╢≤┐∞└·└╟ (User-Agent) ┴ó▒┘└╗
- ░┼║╬╟╥ ╝÷ └╓┤┘.</p>
-
- </section>
- <section id="logging">
- <title>┴╢░╟║╬ ╖╬▒╫</title>
-
- <p><directive module="mod_log_config">LogFormat</directive>└╟
- <code>%e</code> ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷╕ª ┴ó▒┘ ╖╬▒╫┐í
- ▒Γ╖╧╟╥ ╝÷ └╓┤┘. ╢╟, <directive
- module="mod_log_config">CustomLog</directive> ┴÷╜├╛ε└╟
- ┴╢░╟║╬ ╟ⁿ╜─└╗ ╗τ┐δ╟╧╕Θ ╚»░µ║»╝÷└╟ ╗≤╚▓┐í ╡√╢≤ ┐Σ├╗└╗
- ╖╬▒╫╟╥┴÷ ┐⌐║╬╕ª ░ß┴ñ╟╥ ╝÷ └╓┤┘. <directive
- module="mod_setenvif">SetEnvIf</directive>┐═ ░░└╠ ╗τ┐δ╟╧┐⌐
- ╛ε╢▓ ┐Σ├╗└╗ ╖╬▒╫╟╥┴÷ └┌└»╖╙░╘ ░ß┴ñ╟╥ ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε,
- ╞─└╧╕φ└╠ <code>gif</code>╖╬ │í│¬┤┬ ┐Σ├╗└║ ╖╬▒╫╟╧┴÷ ╛╩░┼│¬,
- ┐▄║╬ │╫╞«┐≈┐í └╓┤┬ ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗╕╕└╗ ╖╬▒╫╟╥ ╝÷ └╓┤┘.</p>
-
- </section>
- <section id="response-headers">
- <title>┴╢░╟║╬ └└┤Σ ╟∞┤⌡</title>
-
- <p><directive module="mod_headers">Header</directive>
- ┴÷╜├╛ε┤┬ ┼¼╢≤└╠╛≡╞«┐í░╘ └└┤Σ└╗ ║╕│╛╢º ╚»░µ║»╝÷└╟ └»╣½┐í
- ╡√╢≤ ╛ε╢▓ HTTP ╟∞┤⌡╕ª ╞≈╟╘╟╥┴÷ ░ß┴ñ╟╥ ╝÷ └╓┤┘. ┐╣╕ª
- ╡Θ╛ε, ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗┐í ╞»┴ñ ╟∞┤⌡░í └╓┤┬ ░µ┐∞┐í╕╕
- ╛ε╢▓ └└┤Σ ╟∞┤⌡╕ª ║╕│╛ ╝÷ └╓┤┘.</p>
-
- </section>
-
- <section id="external-filter">
- <title>┐▄║╬ ╟╩┼═ ╜╟╟α╟╧▒Γ</title>
-
- <p><module>mod_ext_filter</module>└╟ <directive
- module="mod_ext_filter">ExtFilterDefine</directive>
- ┴÷╜├╛ε╖╬ ╝│┴ñ╟╤ ┐▄║╬ ╟╩┼═╕ª <code>disableenv=</code>┐═
- <code>enableenv=</code> ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷┐í ╡√╢≤
- ╝▒┼├└√└╕╖╬ ╜╟╟α╟╥ ╝÷ └╓┤┘.</p>
- </section>
-
- <section id="url-rewriting">
- <title>URL └τ└█╝║(Rewriting)</title>
-
- <p><directive module="mod_rewrite">RewriteCond</directive>└╟
- <em>TestString</em>┐í <code>%{ENV:...}</code> ╟ⁿ╜─└╗
- ╗τ┐δ╟╧╕Θ mod_rewrite└╟ └τ└█╝║ ┐ú┴°└╠ ╚»░µ║»╝÷┐í ╡√╢≤
- ┤┘╕ú░╘ ╟α╡┐╟╤┤┘. mod_rewrite┐í╝¡ ╛╒┐í <code>ENV:</code>╕ª
- ║┘└╠┴÷╛╩░φ ┴ó▒┘╟╧┤┬ ║»╝÷┤┬ ╜╟┴ª ╚»░µ║»╝÷░í ╛╞┤╘└╗ ┴╓└╟╟╧╢≤.
- ▒╫╡Θ└║ ┤┘╕Ñ ╕≡╡Γ┐í╝¡ └╨└╗ ╝÷ ╛°┤┬ mod_rewrite┐í ╟╤┴ñ╡╚
- ║»╝÷┤┘.</p>
- </section>
- </section>
-
- <section id="special">
- <title>╞»║░╟╤ ╕±└√└╟ ╚»░µ║»╝÷</title>
-
- <p>┼¼╢≤└╠╛≡╞«┐═ ┐°╚░╟╤ ╡┐└█╟╧▒Γ└º╟╪ ╛╞╞──í┤┬ ╞»║░╟╤
- ┼¼╢≤└╠╛≡╞«┐í ┤δ╟╪ └┌╜┼└╟ ╟α╡┐└╗ ╝÷┴ñ╟╤┤┘. ║╕┼δ <directive
- module="mod_setenvif">BrowserMatch</directive>┐í╝¡
- ╚»░µ║»╝÷╕ª ┴ñ└╟╟╧┐⌐ └╠╖▒ ╣«┴ª╕ª ╟╪░ß╟╤┤┘. ▒╫╖»│¬ <directive
- module="mod_env">SetEnv</directive>┐═ <directive
- module="mod_env">PassEnv</directive>╖╬╡╡ ░í┤╔╟╧┤┘.</p>
-
- <section id="downgrade">
- <title>downgrade-1.0</title>
-
- <p>┐Σ├╗└╠ └╠╚─ ╣÷└ⁿ└╗ ╗τ┐δ╟╧┤⌡╢≤╡╡ HTTP/1.0 ┐Σ├╗└╕╖╬
- ├│╕«╟╤┤┘.</p>
-
- </section>
- <section id="force-no-vary">
- <title>force-no-vary</title>
-
- <p>└└┤Σ└╗ ┼¼╢≤└╠╛≡╞«┐í░╘ ║╕│╗▒Γ └ⁿ┐í └└┤Σ ╟∞┤⌡┐í╝¡
- <code>Vary</code> ╟╩╡σ╕ª ╗½┤┘. ╛ε╢▓ ┼¼╢≤└╠╛≡╞«┤┬ └╠
- ╟╩╡σ╕ª ┴ª┤δ╖╬ ╟╪╝«╟╧┴÷ ╕°╟╤┤┘ (<a
- href="misc/known_client_problems.html">┼¼╢≤└╠╛≡╞«└╟
- └╠╣╠ ╛╦╖┴┴° ╣«┴ª┴í</a> ╞Σ└╠┴÷ ┬ⁿ░φ). └╠ ║»╝÷┤┬ └╠╖▒
- ╣«┴ª╕ª ╟╪░ß╟╤┤┘. ╢╟╟╤, └╠ ║»╝÷┤┬
- <strong>force-response-1.0</strong>└╗ ░í┴ñ╟╤┤┘.</p>
-
- </section>
- <section id="force-response">
- <title>force-response-1.0</title>
-
- <p>HTTP/1.0 ┐Σ├╗└╗ ╟╧┤┬ ┼¼╢≤└╠╛≡╞«┐í░╘ HTTP/1.0 └└┤Σ└╗
- ░¡┴ª╟╤┤┘. ┐°╖í AOL ╟┴╖╧╜├┐í ╣«┴ª░í └╓╛ε╝¡ ╕╕╡Θ╛ε┴│┤┘.
- ╛ε╢▓ HTTP/1.0 ┼¼╢≤└╠╛≡╞«┤┬ HTTP/1.1 └└┤Σ└╗ ╣▐└╕╕Θ ┴ª┤δ╖╬
- ╡┐└█╟╧┴÷ ╛╩└╕╣╟╖╬, └╠ ╣«┴ª╕ª ╟╪░ß╟╧▒Γ└º╟╪ ╗τ┐δ╟╤┤┘.</p>
- </section>
-
- <section id="gzip-only-text-html">
- <title>gzip-only-text/html</title>
-
- <p>░¬└╠ "1"└╠╕Θ <code>text/html</code>└╠ ╛╞┤╤ content-type┐í
- ┤δ╟╪ <module>mod_deflate</module>└╟ DEFLATE ├Γ╖┬╟╩┼═╕ª
- ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘.</p>
- </section>
-
- <section id="no-gzip"><title>no-gzip</title>
-
- <p>└╠ ┐╔╝╟└╗ ╝│┴ñ╟╧╕Θ <module>mod_deflate</module>└╟
- <code>DEFLATE</code> ╟╩┼═╕ª ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘.</p>
-
- </section>
-
- <section id="nokeepalive">
- <title>nokeepalive</title>
-
- <p><directive module="core">KeepAlive</directive>╕ª
- ╣½╜├╟╤┤┘.</p>
-
- </section>
-
- <section id="prefer-language"><title>prefer-language</title>
-
- <p>└╠ ║»╝÷┤┬ <module>mod_negotiation</module>└╟ ╟α╡┐┐í
- ┐╡╟Γ└╗ ╣╠─ú┤┘. ║»╝÷░í (<code>en</code>, <code>ja</code>,
- <code>x-klingon</code> ╡ε) ╛≡╛ε┼┬▒╫╕ª ┤π░φ└╓┤┘╕Θ,
- <module>mod_negotiation</module>┤┬ ▒╫ ╛≡╛ε╖╬ ╡╚ ║»╟ⁿ└╗
- ║╕│╗▒µ ╜├╡╡╟╤┤┘. ▒╫╖▒ ║»╟ⁿ└╠ ╛°┤┘╕Θ └╧╣▌└√└╬ <a
- href="content-negotiation.html">╟∙╗≤</a> ░·┴ñ└╗ ╜├└█╟╤┤┘.</p>
-
- </section>
-
- <section id="redirect-carefully">
- <title>redirect-carefully</title>
-
- <p>╝¡╣÷░í ┤⌡ ┴╢╜╔╚≈ ┼¼╢≤└╠╛≡╞«┐í░╘ ╕«┤┘└╠╖║╝╟└╗ ║╕│╜┤┘.
- ║╕┼δ ╕«┤┘└╠╖║╝╟└╗ ├│╕«╟╧┤┬╡Ñ ╣«┴ª░í └╓┤┬ ┼¼╢≤└╠╛≡╞«└╗
- └º╟╪ ╗τ┐δ╟╤┤┘. ┐°╖í Microsoft└╟ WebFolders ╝╥╟┴╞«┐■╛ε░í
- DAV ╕▐╜ß╡σ╕ª ┼δ╟╪ ╡≡╖║┼Σ╕« └┌┐°└╟ ╕«┤┘└╠╖║╝╟└╗ ├│╕«╟╧┤┬╡Ñ
- ╣«┴ª░í └╓╛ε╝¡ ╕╕╡Θ╛ε┴│┤┘.</p>
-
- </section>
-
- <section id="suppress-error-charset">
- <title>suppress-error-charset</title>
-
- <p><em>2.0.40 └╠╚─ ╣÷└ⁿ┐í └╓┤┘</em></p>
-
- <p>╛╞╞──í░í ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗┐í ┤δ╟╤ └└┤Σ└╕╖╬ ╕«┤┘└╠╖║╝╟└╗
- ║╕│╛╢º ┼¼╢≤└╠╛≡╞«░í └┌╡┐└╕╖╬ ╕«┤┘└╠╖║╝╟└╗ ╡√╢≤░í┴÷ ╕°╟╧┤┬(╚ñ└║
- ╛╩┤┬) ░µ┐∞┐í ┤δ║±╟╧┐⌐ └└┤Σ┐í ╗τ┐δ└┌┐í░╘ ║╕┐⌐┴┘ ╣«▒╕╕ª ╞≈╟╘╟╤┤┘.
- ╛╞╞──í┤┬ ║╕┼δ └╠ ▒█└╗ ╛╞╞──í░í ╗τ┐δ╟╧┤┬ ╣«└┌┴²╟╒└╬ ISO-8859-1╖╬
- ╟Ñ╜├╟╤┤┘.</p>
- <p>▒╫╖»│¬ ╕«┤┘└╠╖║╝╟╡╚ ╞Σ└╠┴÷░í ┤┘╕Ñ ╣«└┌┴²╟╒└╗ ╗τ┐δ╟╥ ░µ┐∞
- ╛ε╢▓ └╠╗≤╟╤ ║Ω╢≤┐∞└· ╣÷└ⁿ└║ ╜╟┴ª ╞Σ└╠┴÷░í ╛╞┤╧╢≤ ╕«┤┘└╠╖║╝╟
- ╞Σ└╠┴÷└╟ ╣«└┌┴²╟╒└╗ ╗τ┐δ╟╧╖┴░φ ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ▒╫╕«╜║╛ε░í
- └╠╗≤╟╧░╘ ║╕└╧ ╝÷ └╓┤┘.</p>
- <p>└╠ ╚»░µ║»╝÷┤┬ ╛╞╞──í░í ╕«┤┘└╠╖║╝╟ ╞Σ└╠┴÷┐í ╣«└┌┴²╟╒└╗
- ╝│┴ñ╟╧┴÷╛╩╡╡╖╧ ╟╧┐⌐, └╠╖▒ ║Ω╢≤┐∞└·░í ╜╟┴ª ╞Σ└╠┴÷└╟ ╣«└┌┴²╟╒└╗
- ┐├╣┘╖╬ ╗τ┐δ╟╧░╘ ╕╕╡τ┤┘.</p>
-
- </section>
-
- </section>
-
- <section id="examples">
- <title>┐╣┴ª</title>
-
- <section id="misbehaving">
- <title>└▀╕° ╡┐└█╟╧┤┬ ┼¼╢≤└╠╛≡╞«╡Θ└╗ └º╟╪ ╟┴╖╬┼Σ─▌ ╟α╡┐
- ║»░µ╟╧▒Γ</title>
-
- <p>┼¼╢≤└╠╛≡╞«╡Θ└╟ └╠╣╠ ╛╦╖┴┴° ╣«┴ª╕ª ╟╪░ß╟╧▒Γ└º╟╪
- httpd.conf┐í ┤┘└╜ │╗┐δ└╗ ╞≈╟╘╟╧▒µ ╣┘╢⌡┤┘.</p>
- <example><pre>
- #
- # ┤┘└╜ ┴÷╜├╛ε╡Θ└║ └╧╣▌└√└╬ HTTP └└┤Σ└╗ ║»░µ╟╤┤┘.
- # ├╣╣°┬░ ┴÷╜├╛ε┤┬ Netscape 2.x┐═ └╠╕ª ░í└σ╟╤ ║Ω╢≤┐∞└·┐í░╘
- # keepalive╕ª ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘. └╠╡Θ ║Ω╢≤┐∞└· ▒╕╟÷┐í ╣«┴ª░í └╓┤┘.
- # ╡╬╣°┬░ ┴÷╜├╛ε┤┬ HTTP/1.1 ▒╕╟÷└╠ └▀╕°╡╟╛·░φ 301└╠│¬ 302
- # (╕«┤┘└╠╖║╝╟) └└┤Σ┐í ╗τ┐δ╟╤ keepalive╕ª ┴ª┤δ╖╬ ┴÷┐°╟╧┴÷
- # ╕°╟╧┤┬ Microsoft Internet Explorer 4.0b2╕ª └º╟╤ ░═└╠┤┘.
- #
- BrowserMatch "Mozilla/2" nokeepalive
- BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
-
- #
- # ┤┘└╜ ┴÷╜├╛ε┤┬ ▒Γ║╗└√└╬ HTTP/1.1 └└┤Σ└╗ └╠╟╪╟╧┴÷ ╕°╟╧┐⌐
- # HTTP/1.0 ▒╘╛α└╗ ╛ε▒Γ┤┬ ║Ω╢≤┐∞└·┐í░╘ HTTP/1.1 └└┤Σ└╗ ║╕│╗┴÷ ╛╩┤┬┤┘.
- #
- BrowserMatch "RealPlayer 4\.0" force-response-1.0
- BrowserMatch "Java/1\.0" force-response-1.0
- BrowserMatch "JDK/1\.0" force-response-1.0</pre></example>
-
- </section>
- <section id="no-img-log">
- <title>┴ó▒┘ ╖╬▒╫┐í └╠╣╠┴÷┐í ┤δ╟╤ ┐Σ├╗└╗ ╖╬▒╫╟╧┴÷ ╛╩▒Γ</title>
-
- <p>└╠ ┐╣┴ª┤┬ └╠╣╠┴÷┐í ┤δ╟╤ ┐Σ├╗└╗ ┴ó▒┘ ╖╬▒╫┐í ▒Γ╖╧╟╧┴÷
- ╛╩┤┬┤┘. ╞»┴ñ ╡≡╖║┼Σ╕«┐í ┤δ╟╤ ╚ñ└║ ╞»┴ñ ╚ú╜║╞«┐í╝¡ ┐┬
- ┐Σ├╗└╗ ╖╬▒╫╟╧┴÷ ╛╩╡╡╖╧ ╜▒░╘ ╝÷┴ñ╟╥ ╝÷ └╓┤┘.</p>
- <example><pre>
- SetEnvIf Request_URI \.gif image-request
- SetEnvIf Request_URI \.jpg image-request
- SetEnvIf Request_URI \.png image-request
- CustomLog logs/access_log common env=!image-request</pre></example>
-
- </section>
- <section id="image-theft">
- <title>"└╠╣╠┴÷ ╡╡╡╧" ╣µ┴÷</title>
-
- <p>└╠ ┐╣┤┬ ╟÷└τ ╝¡╣÷┐▄└╟ ╗τ┐δ└┌░í ╞Σ└╠┴÷┐í ╝¡╣÷┐í └╓┤┬
- └╠╣╠┴÷╕ª ╞≈╟╘╟╧┴÷ ╕°╟╧╡╡╖╧ ╟╧┤┬ ╣µ╣²└╗ ╝│╕φ╟╤┤┘. └╠
- ╝│┴ñ└╗ ▒╟└σ╟╧┴÷┤┬ ╛╩└╕╕τ, ┴ª╟╤╡╚ ░µ┐∞┐í╕╕ ╡┐└█╟╤┤┘.
- ┐∞╕«┤┬ ╕≡╡τ └╠╣╠┴÷░í /web/images ╡≡╖║┼Σ╕« ╛╚┐í └╓┤┘░φ
- ░í┴ñ╟╤┤┘.</p>
- <example><pre>
- SetEnvIf Referer "^http://www.example.com/" local_referal
- # Referer ┴ñ║╕╕ª ║╕│╗┴÷ ╛╩┤┬ ║Ω╢≤┐∞└·╕ª ╟π┐δ╟╤┤┘
- SetEnvIf Referer "^$" local_referal
- <Directory /web/images>
- Order Deny,Allow
- Deny from all
- Allow from env=local_referal
- </Directory></pre></example>
-
- <p>└╠ ▒Γ╣²┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ└║ ApacheToday ┼⌡┼Σ╕«╛≤ "<a
- href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-PS">
- Keeping Your Images from Adorning Other Sites</a>"╕ª ┬ⁿ░φ╟╧╢≤.</p>
- </section>
- </section>
- </manualpage>
-